/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.worldscale.xp.wslib.net.tls;

import java.io.InputStream;
import java.io.OutputStream;
import javax.net.ssl.SSLSocketFactory;

/**
 *
 * @author Kun
 */
final class ImplTLS extends TLS {

    private final InputStream mTargetIS;
    private final OutputStream mTargetOS;
    private InputStream mProxyIS;
    private OutputStream mProxyOS;

    public ImplTLS(InputStream is, OutputStream os) {
        mTargetIS = is;
        mTargetOS = os;
        this.mProxyIS = this.mTargetIS;
        this.mProxyOS = this.mTargetOS;
    }

    public void init() {

        System.out.println("<!-- Start TLS ! -->");

    }

    @Override
    public InputStream getInputStream() {
        return mProxyIS;
    }

    @Override
    public OutputStream getOutputStream() {
        return mProxyOS;
    }
}
